package accountManagementNew.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * @Author：lihonbin
 * @Version：1.0.0
 * @Date:2025/9/28
 * @Description: 支付方式枚举
 */
@Getter
@AllArgsConstructor
public enum PaymentMethodEnum {

    WECHAT(0, "微信"),
    ALIPAY(1, "支付宝"),
    BANK_TRANSFER(2, "储蓄卡"),
    CREDIT_CARD(3, "信用卡"),
    OTHER(4, "其他");

    @EnumValue
    @JsonValue
    private final Integer code;
    private final String dec;
}
